import http from "./http";

// 获取挂号列表
export const api_register_list=(params)=>http({
    url:"/register/list",
    method:"get",
    params
})

// 根据挂号单id获取挂号单详情
export const api_register_getbyid=(params)=>http({
    url:"/register/getbyid",
    method:"get",
    params
})

//删除挂单号
export const api_register_del=(params)=>http({
    url:"/register/del",
    method:"get",
    params
})

//批量删除挂单号
export const api_register_batchdel=(data)=>http({
    url:"/register/batchdel",
    method:"post",
    data
})


//搜索挂单号
export const api_register_search=(params)=>http({
    url:"/register/search",
    method:"get",
    params
})